package com.zmn.plat.model.entity.brand;

import com.zmn.common.utils.pager.Pages;

import java.util.List;

/**
 * @author duanzuocai
 * @version v1.0
 * @since 2018/11/8 9:39
 * @modifier tanbiao 2019/09/06
 */
public class BaseBrandQuery extends Pages {
    private int brandId;

    /**
     * 品牌ID集合
     */
    private List<Integer> brandIdList;

    private String name;
    private String enname;
    private Integer type;
    private Integer status;
    /**
     * 创建日期的范围，前端查询条件
     */
    private String timeRange;
    /**
     * 名称或者是brandId,前端的模糊搜索条件
     */
    private String nameOrBrandId;

    /**
     * 创建时间的范围，对timeRange进行切分，便于查询
     */
    private String startCreateTime;
    private String endCreateTime;

    /**
     * 根据品牌系数查询品牌用到的查询条件：
     * 服务分类ID
     */
    private Integer servCategId;
    /**
     * 前台产品一级分类ID
     */
    private Integer categOneId;
    /**
     * 前台产品二级分类ID
     */
    private Integer categTwoId;
    /**
     * 前台产品ID
     */
    private Integer productId;
    /**
     * 每页显示条数，默认100
     */
    private Integer pageSize = 100;


    public int getBrandId() {
        return brandId;
    }

    public void setBrandId(int brandId) {
        this.brandId = brandId;
    }

    public List<Integer> getBrandIdList() {
        return brandIdList;
    }

    public void setBrandIdList(List<Integer> brandIdList) {
        this.brandIdList = brandIdList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEnname() {
        return enname;
    }

    public void setEnname(String enname) {
        this.enname = enname;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTimeRange() {
        return timeRange;
    }

    public void setTimeRange(String timeRange) {
        this.timeRange = timeRange;
    }

    public String getNameOrBrandId() {
        return nameOrBrandId;
    }

    public void setNameOrBrandId(String nameOrBrandId) {
        this.nameOrBrandId = nameOrBrandId;
    }

    public String getStartCreateTime() {
        return startCreateTime;
    }

    public void setStartCreateTime(String startCreateTime) {
        this.startCreateTime = startCreateTime;
    }

    public String getEndCreateTime() {
        return endCreateTime;
    }

    public void setEndCreateTime(String endCreateTime) {
        this.endCreateTime = endCreateTime;
    }

    public Integer getCategTwoId() {
        return categTwoId;
    }

    public void setCategTwoId(Integer categTwoId) {
        this.categTwoId = categTwoId;
    }

    public Integer getServCategId() {
        return servCategId;
    }

    public void setServCategId(Integer servCategId) {
        this.servCategId = servCategId;
    }

    public Integer getCategOneId() {
        return categOneId;
    }

    public void setCategOneId(Integer categOneId) {
        this.categOneId = categOneId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    @Override
    public Integer getPageSize() {
        return pageSize;
    }

    @Override
    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
